﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 订单评价
/// </summary>
public partial class SOrderComments
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 店铺id
    /// </summary>
    public uint ShopId { get; set; }

    /// <summary>
    /// 订单id
    /// </summary>
    public uint OrderId { get; set; }

    /// <summary>
    /// 商品id
    /// </summary>
    public uint GoodsId { get; set; }

    /// <summary>
    /// 评价内容
    /// </summary>
    public string Content { get; set; } = null!;

    /// <summary>
    /// 评价级别（默认0 1~5）
    /// </summary>
    public byte Rating { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }
}
